'use strict';

var detailCtrl = function($rootScope, $scope, $modalInstance, modalModel) {
    $scope.id = modalModel.id;
    $scope.cmecc = modalModel.cmecc;
    $scope.cap = modalModel.cap;
    $scope.art = modalModel.art;
    $scope.sglcresp = modalModel.sglcresp;
    $scope.desc = modalModel.desc;
    $scope.respres = modalModel.respres;
    $scope.prevcomp = modalModel.prevcomp;
    $scope.prevcassa = modalModel.prevcassa;
    $scope.dispcomp = modalModel.dispcomp;    
    $scope.dispcassa = modalModel.dispcassa;
    $scope.prevcobipro = modalModel.prevcobipro;
    $scope.prevcabipro = modalModel.prevcabipro;
    
    $scope.cancel = function () {
	    $modalInstance.dismiss('cancel');
	  };
    
    
	};



